package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.commodity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品 Response VO")
@Data
@ToString(callSuper = true)
public class CommodityRespIpageVO  {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11840")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

//商品信息
    @Schema(description = "商品id", example = "17436")
    private Long commodityId;
    @Schema(description = "商品类型 1商品 2抵扣券 3核销券", example = "1")
    private Long storeType;
    @Schema(description = "商品名称", example = "张三")
    private String storeName;
    @Schema(description = "商品图片", example = "张三")
    private String storeImageurls;
    @Schema(description = "商品所属分类", example = "1")
    private Long storeCategoryId;
    @Schema(description = "商品详情", example = "张三")
    private String storeContent;
    @Schema(description = "商品所需积分", example = "张三")
    private String storePoint;

    @Schema(description = "积分")
    private Long point;

    @Schema(description = "库存")
    private Long inventory;

    @Schema(description = "出售数量")
    private Long sellNum;

    @Schema(description = "状态 1处理中 2已使用 3未使用 4已收货 ")
    private Long status;

    @Schema(description = "其他信息")
    private String others;


//老人信息
    @Schema(description = "老人姓名")
    private String oldmanName;

    @Schema(description = "老人身份证")
    private String oldmanCard;


//收件信息

    @Schema(description = "订单号", example = "154")
    private String orderNumber;

    @Schema(description = "地区编号", example = "154")
    private Long areaId;

    @Schema(description = "地区名字", example = "154")
    private String areaName;

    @Schema(description = "收件人名称", example = "张三")
    private String name;
    @Schema(description = "收件人手机号", example = "张三")
    private String mobile;
    @Schema(description = "收件人详细地址", example = "张三")
    private String detailAdress;
//用户信息
    @Schema(description = "用户真实姓名")
    private String userName;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "用户类型 3医生 4用户")
    private String userType;

    @Schema(description = "用户头像")
    private String avatar;
}
